// components/zts-ellipsis/zts-ellipsis.js
Component({
    /**
     * 组件的属性列表
     */
    properties: {
        gradient: {
            type: String,
            value:
                'to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 20%',
        },
        text: {
            type: String,
            value: '全文',
        },
        textStyle: {
            type: String,
            value:
                'font-family: PingFangSC-Semibold;font-weight: bold;font-size: 28rpx;color: #505050;',
        },
    },

    /**
     * 组件的初始数据
     */
    data: {},

    /**
     * 组件的方法列表
     */
    methods: {
        unfold() {
            this.triggerEvent('unfold');
        },
    },
});
